﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iuPlace.Core.Repositories
{
    public class Context
    {
        public static EFModelEntities CreateEntityFramework()
        {
            return new EFModelEntities("metadata=res://*/Repositories.EFModelEntities.csdl|res://*/Repositories.EFModelEntities.ssdl|res://*/Repositories.EFModelEntities.msl;provider=System.Data.SqlClient;provider connection string='" + Settings.DataBaseConnectionString + "'");
        }

        public static SCModelEntities CreateSmartContainer()
        {
            return new SCModelEntities();
        }
    }
}
